package com.antilia.infomaresme.data.dao.interfaces;

import java.util.Date;
import java.util.List;

import com.antilia.infomaresme.data.dataobjects.Item;
import com.antilia.infomaresme.data.dataobjects.ItemEvent;
import com.antilia.infomaresme.data.dataobjects.ItemEventSubject;

/**
 * 
 * @author Ernesto
 *
 */
public interface IItemEventsDao extends IDao<ItemEvent> {

	public List<ItemEvent> getEventsAfter(Date date);

	/**
	 *  Registers an event.
	 * @param item
	 * @param eventSubject
	 * @param oldValue
	 * @param newValue
	 */
	public void registerEvent(Item item, ItemEventSubject eventSubject, String oldValue, String newValue);

}
